package com.mengde.mapper;

import com.mengde.model.RoleDto;
import com.mengde.model.UserDto;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface RoleMapper extends Mapper<RoleDto> {

    /**
     * TODO：根据User查询Role
     * @param userDto
     * @return java.util.List<com.wang.model.RoleDto>
     * @author Wang926454
     * @date 2018/8/31 11:30
     */
    public List<RoleDto> findRoleByUser(UserDto userDto);
}